<!DOCTYPE html>
<html>
    <head>
        <title>#{get 'title' /}</title>
        <meta charset="utf-8">
        <link rel="stylesheet" media="screen" href="@{'/public/stylesheets/main.css'}">
        <link rel="stylesheet" media="screen" href="@{'/public/stylesheets/common.css'}">
        #{get 'moreStyles' /}
        <link rel="shortcut icon" type="image/png" href="@{'/public/images/favicon.png'}">
        
    </head>
    <body>
    	<div id="header">
    		<div id="headerLogo"></div>
    		<div id="headerContent">
    			<div id="userPicture" class ="headerContent">
                 <img src=${currentUser.getFacebookPictureUrl()}/>
                 </div>
    			<div id = "userName" class ="headerContent">
    				<span>${currentUser.getFacebookName()}</span>
    			</div>
    		</div>
    	    <div id="headerKLink">
    	    	<ul>

    	    		<li class ="currentLink"><a href="/" ><span>Seyahat Haritanız</span></a></li>
    	    		<li class ="normalLink"><a href="/cities" ><span>Şehirleriniz</span></a></li>
    	    		<li class = "normalLink"><a href="/afterAddPlace/1" ><span>Arkadaşlarınızın Haritaları</span></a></li>
    	    		
    	    	</ul>
    	    </div>
    	    <div id="faceBook">
    	    	<div id="fb_Share">
    	    	</div>
				<div id="fb_MultiInvite">
				</div>
				<div id="fb_like">
				</div>
			
			 </div>
    	</div>
    	<div class="clear"></div>
     <div id="content">
           #{doLayout /}
      </div>
        	
        		
     <script src="@{'/public/javascripts/jquery-1.5.1.min.js'}" type="text/javascript" charset="utf-8"></script>
      <script src ="@{'/public/javascripts/faceBook.js'}"  type = "text/javascript" charset="utf-8"></script>
      
      <script src ="@{'/public/javascripts/common.js'}"  type = "text/javascript" charset="utf-8"></script>
      <script type="text/javascript" charset="utf-8">
         $facebook.appId = ${facebookApplicationID}
         facebookInitialize();  
      </script>
      
        #{get 'moreScripts' /}
	    <script type="text/javascript" charset="utf-8">
		
		</script>
		
	 </body>
</html>
